#! /bin/sh
# Franklin Souza
# @FranklinTech

# ██████╗ ███████╗██████╗ ██╗    ██╗███╗   ███╗██████╗  ██████╗
# ██╔══██╗██╔════╝██╔══██╗██║    ██║████╗ ████║██╔══██╗██╔════╝
# ██████╔╝███████╗██████╔╝██║ █╗ ██║██╔████╔██║██████╔╝██║     
# ██╔══██╗╚════██║██╔═══╝ ██║███╗██║██║╚██╔╝██║██╔══██╗██║     
# ██████╔╝███████║██║     ╚███╔███╔╝██║ ╚═╝ ██║██║  ██║╚██████╗
# ╚═════╝ ╚══════╝╚═╝      ╚══╝╚══╝ ╚═╝     ╚═╝╚═╝  ╚═╝ ╚═════╝
                                                             
sxhkd &

bspc monitor -d          

bspc config border_width         2
bspc config window_gap
#bspc config focused_border_color "${xrdb:color7:#222}"

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a firefox desktop='^1' follow=off
#bspc rule -a URxvt desktop='^2' state=floating follow=off
#bspc rule -a Alacritty desktop='^2' state=floating follow=off
bspc rule -a TelegramDesktop desktop='^3' state=floating follow=off
bspc rule -a Thunar desktop='^4' state=floating follow=off
bspc rule -a Deezer desktop='^5' state=floating follow=off
bspc rule -a Inkscape desktop='^6' state=floating follow=off
bspc rule -a Gimp desktop='^6' state=floating follow=off
bspc rule -a mpv desktop='^7' state=floating follow=off
bspc rule -a jetbrains-pycharm-ce desktop='^8' state=floating follow=off
bspc rule -a discord desktop='^9' state=floating follow=off
bspc rule -a Steam desktop='^10' state=floating follow=off
bspc rule -a Lutris desktop='^10' state=floating follow=off
bspc rule -a PPSSPPSDL desktop='^10' state=floating follow=off
bspc rule -a Howl desktop='^0' state=floating follow=off
bspc rule -a Lxappearance desktop='^0' state=floating follow=off
bspc rule -a Gucharmap desktop='^0' state=floating follow=off
bspc rule -a Mousepad desktop='^0' state=floating follow=off
bspc rule -a Evince desktop='^0' state=floating follow=off
bspc rule -a Blueman-manager desktop='^0' state=floating follow=off
bspc rule -a Pavucontrol desktop='^0' state=floating follow=off
bspc rule -a Viewnior desktop='^0' state=floating follow=off
bspc rule -a Screenkey manage=off

# Wallpaper
wal -i ~/Franks/Wallpapers/051.jpg
#feh --bg-fill ~/Franks/Wallpapers/047.jpg

# Polybar
~/.config/polybar/scripts/launch.sh

# Compositor
#picom --config ~/.config/picom/picom.conf

# Xresources
xrdb -merge ~/.Xresources

# Flameshot
flameshot &

# Dunst
dunst &
#dunst -b &

# Layout Teclado
setxkbmap br &

# NumLock
numlockx on &
